projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf61b6a
)
Update commentary.
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 13 Dec 2008 05:39:20 +0000
(
05:39
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 13 Dec 2008 05:39:20 +0000
(
05:39
+0000)
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 4773619468fef5a669cd0f713a2e6de9463cf0e7..acadc43473860d85b020225c6559a40563398f50 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-849,8
+849,10
@@
init_frame_faces (f)
/* Make the image cache. */
if (FRAME_WINDOW_P (f))
{
+ /* We initialize the image cache when creating the first frame
+ on a terminal, and not during terminal creation. This way,
+ `x-open-connection' on a tty won't create an image cache. */
if (FRAME_IMAGE_CACHE (f) == NULL)
- /* Is that ever possible?? --Stef */
FRAME_IMAGE_CACHE (f) = make_image_cache ();
++FRAME_IMAGE_CACHE (f)->refcount;
}